package www.yingdi365.com.constant;


/**
 * Created by zjb on 2016/6/12.
 */
public class Constant {
    public static String HOST = "https://apprest.yingdi365.com/server/rest/";
    public static String TOKEN = "X-AUTH-TOKEN";
    public static String TuPianYaSuo= "?imageMogr2/thumbnail/1000x/strip";
    public static int changeControl = 2017;//判断数据是否有改变

    public static class Url {
        public static final String LOGINSERVICE = "loginservice/";//登录服务接口 1、获取验证码 2、登录 3、修改密码
        public static final String APPALBUMSERVICE = "albumservice/";//相册服务接口
        public static final String APPUSERSERVICE = "userservice/";//用户服务接口 1、获取所属组织用户信息 2、修改用户信息
        public static final String AppFileService = "fileservice/";//文件服务接口 1、添加图片文件
        public static final String AppQiniuService = "qiniuservice/";//Qiniu服务接口 1、获取Qiniu上传访问授权信息
        public static final String AppInvitationService = "invitationservice/";//请柬服务接口 1、获取请柬
        public static final String AppInvitationTmplService = "invitationtmplservice/";//请柬模板服务接口 1、获取请柬模板
        public static final String AppMagazineTmplService = "magazinetmplservice/";//杂志模板服务接口 1、获取杂志模板
        public static final String AppMagazineService = "magazineservice/";//杂志服务接口
        public static final String AppMicrofaciesService = "microfaciesservice/";//微相册模板服务接口 1、获取微相册
        public static final String AppMusicService = "musicservice/";//音乐服务服务接口
        public static final String AppECardTmplService = "ecardtmplservice/";//贺卡模板服务接口
        public static final String AppECardService = "ecardservice/";//贺卡服务接口
    }

    public static class PERMISSION {
        public static final int ACCESS_COARSE_LOCATION = 0;
        public static final int ACCESS_FINE_LOCATION = 1;
        public static final int WRITE_EXTERNAL_STORAGE = 2;
        public static final int READ_EXTERNAL_STORAGE = 3;
        public static final int READ_PHONE_STATE = 4;
        public static final int PERMISSION_READ_SMS = 5;
        public static final int RECEIVE_BOOT_COMPLETED = 6;
        public static final int RECEIVE_WRITE_SETTINGS = 7;
        public static final int RECEIVE_VIBRATE = 8;
        public static final int RECEIVE_DISABLE_KEYGUARD = 9;
        public static final int CALL_PHONE = 10;
        public static final int SYSTEM_ALERT_WINDOW = 11;
        public static final int PERMISSION_WRITE_EXTERNAL_STORAGE_SSENGJI = 12;
        public static final int CAMERA = 13;
        public static final int MOUNT_UNMOUNT_FILESYSTEMS = 14;
        public static final int READ_CONTACTS = 15;
    }

    public static class INTENT_KEY {
        public static final String ZaZhiZZ000000 = "ZaZhiZZ000000";
        public static final String ZaZhiZZ000200 = "ZaZhiZZ000200";
        public static final String ZaZhiZZ000201 = "ZaZhiZZ000201";
        public static final String TEXT = "text";
        public static final String WENAN = "wenAn";
        public static final String WENAN00 = "wenAn00";
        public static final String WENAN01 = "wenAn01";
        public static final String WENAN02 = "wenAn02";
        public static final String URL = "url";
        public static final String TITLE = "title";
        public static final String MicrofaciesBean = "MicrofaciesBean";
        public static final String TmplsBean = "TmplsBean";
        public static final String Position = "Position";
        public static final String ID = "id";
        public static final String appInvitation = "appInvitation";
        public static final String pagesBean = "pagesBean";
        public static final String music = "music";
        public static final String Name = "name";
        public static final String Des= "des";
        public static final String PictureListBean= "PictureListBean";
        public static final String XiuGaiQJWZ= "XiuGaiQJWZ";
        public static final String QingJian= "QingJian";
        public static final String appMagazine= "appMagazine";
        public static final String cardBean= "cardBean";
    }

    public static class REQUEST_RESULT_CODE {
        public static final int WENAN00 = 2018;
        public static final int WENAN01 = 2019;
        public static final int WENAN02 = 2020;
        public static final int IMAGE_PICKER = 2021;
        public static final int POSITION= 2022;
        public static final int XiuGaiQingJian = 2023;
        public static final int XiuGaiYingYue = 2024;
        public static final int XiuGaiMingZi = 2025;
    }

    public static class ACACHE {
        public static final String ACCOUNT = "account";
        public static final String YING_DI = "yingDi";
        public static final String USER_INFO = "user_info";
    }

    public static class BROADCASTCODE {
        public static final String ZaZhiZZ0000 = "ZaZhiZZ0000";
        public static final String ZaZhiZZ0002 = "ZaZhiZZ0002";
        public static final String QingJianBaoCun = "qingJianBaoCun";
        public static final String WeiXiangCeBaoCun= "WeiXiangCeBaoCun";
        public static final String XiuGaiQJWZ= "XiuGaiQJWZ";
        public static final String XiuGaiYY= "XiuGaiYY";
        public static final String XiuGaiQJSX= "XiuGaiQJSX";
    }

}
